package com.sofwin.service;

import com.github.pagehelper.PageInfo;
import com.sofwin.pojo.SysUser;

/**
 * @packageName: com.sofwin.service
 * @user: andyliu
 * @date: 2023/5/10 16:19
 * @email 115176513@qq.com
 * @description: TODO
 */

public interface UserService {

    boolean saveOrUpdate(SysUser user);

    SysUser queryById(Integer id);

    boolean removeById(Integer id);

    boolean removeById(Integer[] id);

    PageInfo<SysUser> queryByPage(SysUser user,Integer pageNumber,Integer pageSize);

    SysUser login(SysUser user);
}
